package com.yeqian.attachment.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yeqian.attachment.service.AttachmentService;
import com.yeqian.attachment.entity.AttachmentFile;
import com.yeqian.attachment.mapper.AttachmentMapper;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;

public class FastDFSAttachmentServiceImpl extends ServiceImpl<AttachmentMapper, AttachmentFile> implements AttachmentService {

    @Override
    @Transactional(rollbackFor = Exception.class)
    public AttachmentFile uploadFile(MultipartFile file, String uploadPath, String fileType) {
        return null;
    }
}
